package com.spring.xiatian.exception;

/**
 * Created by Created by xiaoxia on 2017/10/16 0001 9:27.
 */
public class AppException extends RuntimeException{

    private Integer code;

    public AppException(Integer code,String message) {
        super(message);
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
